﻿using System;

namespace badmati.Log.Mapping
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
    public class ColumnAttribute : Attribute
    {
        /// <summary>
        /// 特性构造函数
        /// </summary>
        /// <param name="name">数据库中的字段名</param>
        public ColumnAttribute(string name)
        {
            this.Name = name;
        }
        public string Name { get; }
    }
}
